import { http } from 'uview-plus'

// 获取验证码
export const getCaptchaApi = (params) => http.get('/api/appAuth/captcha', params)

// 登录系统
export const loginApi = (data) => http.post('/api/appAuth/login', data)

// 退出系统
export const logoutApi = (data) => http.post('/api/appAuth/logout', data)

// 修改密码 
export const changePwdApi = (data) => http.post('/api/appAuth/changePwd', data)